package com.jwgf.itemviewdelegates;

public class StatisticButtonAttr {
    private String name;
    private String value;
    private boolean visible;
    private boolean selected;

    public StatisticButtonAttr(String name, String value) {
        this.name = name;
        this.value = value;
        this.visible = true;
        this.selected = false;
    }

    public StatisticButtonAttr(String name, String value, boolean visible) {
        this.name = name;
        this.value = value;
        this.visible = visible;
        this.selected = false;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
